﻿#region

using System;
using CommandLineMapper;
using CommandLineMapper.Interfaces;

#endregion

namespace TestProgram {
    internal class Program {
        private const string Options = " --s=127.0.0.1 --db=TestDatabase --sspi=true --try=12";
        private static void Main(string[] args) {
            string commandLine = args.Length == 0 ? Environment.CommandLine + Options : Environment.CommandLine;
            ICommandLineParser parser = new CommandLineParser();
            ApplicationSettings settings = new ApplicationSettings();
            parser.Parse(commandLine, settings);
            Console.WriteLine(settings);
        }
    }
}